NutsnBolts  0.1.0
An extension library for Coin
Loading...
Searching...
No Matches
NbNamedEvent.h
1#ifndef NB_NAMED_EVENT_H
2#define NB_NAMED_EVENT_H
3
4#include <Inventor/events/SoEvent.h>
5#include <Inventor/events/SoSubEvent.h>
6#include <Inventor/SbName.h>
7
8#include <NutsnBolts/Basic.h>
9
10class NB_DLL_API NbNamedEvent : public SoEvent {
11 typedef SoEvent inherited;
12
13 SO_EVENT_HEADER();
14
15 NbNamedEvent(void);
16 virtual ~NbNamedEvent();
17
18 void setName(const SbName & name);
19 const SbName & getName(void) const;
20
21 static void initClass(void);
22
23 enum Name {
24 TOOLTIP,
25 INIT_SIMULATOR
26 };
27
28 static SbName getName(const Name name);
29
30 private:
31 SbName name;
32};
33
34
35#endif // NB_NAMED_EVENT_H
Definition NbNamedEvent.h:10