typedef s_container *container_t;
class s_container {
- public:
+ public:
sg_netpoint_t netpoint;
char *name; /* Unique name of this container */
char *id; /* Unique id of this container */
virtual ~PajeEvent();
};
-class DefineContainerEvent : public PajeEvent
-{
- public:
- type_t type;
- void print() override;
- DefineContainerEvent(type_t);
-};
-
-//--------------------------------------------------
-
-
//--------------------------------------------------
-class DefineVariableTypeEvent : public PajeEvent
+class DefineVariableTypeEvent : public PajeEvent
{
public:
type_t type;
void print() override;
};
-class DefineEventTypeEvent : public PajeEvent {
- type_t type;
- public:
- DefineEventTypeEvent(type_t type);
- void print() override;
-};
-
-class DefineLinkTypeEvent : public PajeEvent {
- type_t type;
- type_t source;
- type_t dest;
- public:
- DefineLinkTypeEvent(type_t type, type_t source, type_t dest);
- void print() override;
-};
-
-class DefineEntityValueEvent : public PajeEvent {
- val_t value;
- public:
- DefineEntityValueEvent (val_t type);
- void print() override;
-};
-
-class CreateContainerEvent : public PajeEvent {
- public:
- container_t container;
- explicit CreateContainerEvent (container_t container);
- void print() override;
-};
-
-class DestroyContainerEvent : public PajeEvent {
- public:
- container_t container;
- DestroyContainerEvent (container_t container);
- void print() override;
-};
-
class SetVariableEvent : public PajeEvent {
container_t container;
public:
container_t container;
type_t type;
- double value;
+ double value;
public:
SubVariableEvent(double timestamp, container_t container, type_t type, double value);
void print() override;
SG_END_DECL()
+void DefineContainerEvent(type_t type);
+void LogVariableTypeDefinition(type_t type);
+void LogStateTypeDefinition(type_t type);
+void LogLinkTypeDefinition(type_t type, type_t source, type_t dest);
+void LogEntityValue (val_t value);
+void LogContainerCreation (container_t container);
+void LogContainerDestruction (container_t container);
+void LogDefineEventType(type_t type);
+
#endif